[Driver] Driver changes to support CUDA compilation on Windows.Summary:For the most part this is straightforward: Just add a CudaInstallationobject to the MSVC and MinGW toolchains.CudaToolChai
[Driver] Driver changes to support CUDA compilation on Windows.Summary:For the most part this is straightforward: Just add a CudaInstallationobject to the MSVC and MinGW toolchains.CudaToolChain has to override computeMSVCVersion so thatClang::constructJob passes the right version flag to cc1. We have tomodify IsWindowsMSVC and friends in Clang::constructJob to be true whencompiling CUDA device code on Windows for the same reason.Depends on: D28319Reviewers: traSubscribers: cfe-commitsDifferential Revision: https://reviews.llvm.org/D28320llvm-svn: 291131
show more ...